#ifndef HOUSE_H
#define HOUSE_H

#include "Room.h"
#include "List.h"
#include "Door.h"
#include "Window.h"
#include<iostream>

using namespace std;

class House{
private:
	List<Room> AllRooms;             //place all the room of the house in the List 
	Door HeadDoor;                  //the house should have a head-door
	List<Window> OutWindows;        /*the sensors on the windows which between outside and 
	                                rooms is used to prevent break-in, not to get information about rooms*/
public:
	House();
	House(const List<Room> &_AllRooms, const Door &_HeadDoor, const List<Window> &_OutWindows);
	void HouseSimulation();
	void AddRoom(Room &R);
	void AddWindow(Window &W);
	List<Msg> MsgofHouse();
};
#endif